package club.banyuan.hrms.config;

import club.banyuan.hrms.dao.AdminDao;
import club.banyuan.hrms.dao.impl.AdminDbDaoImpl;
import club.banyuan.hrms.servlet.AdminListServlet;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.ComponentScan;
import org.springframework.context.annotation.Configuration;

@Configuration
//@ComponentScan(basePackages = "club.banyuan")
public class SpringConfig {
//    @Bean
//    public AdminDao adminDao() {
//        return new AdminDbDaoImpl();
//    }
//
//    @Bean
//    public AdminListServlet adminListServlet() {
//        AdminListServlet adminListServlet = new AdminListServlet();
//        adminListServlet.setAdminDao(adminDao());
//        return adminListServlet;
//    }
}
